package com.xin.minibusmall.member;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
//开启openfeign，并且配置好类，双方都在注册中心，就能实现远程调用
@EnableFeignClients(basePackages = "com.xin.minibusmall.member.feign")
public class MinibusmallMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(MinibusmallMemberApplication.class, args);
    }

}
